import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',

      component: () => import('../views/index.vue')
    },
    {
      path: '/activity',
      component: () => import('../views/activityList.vue'),
    },
    {
      path: '/activitylist',
      component: () => import('../views/activityList.vue'),
    },
    {
      path: '/apply',
      component: () => import('../views/apply.vue'),
    },
    {
      path: '/profile',
      component: () => import('../views/profile.vue'),
    },
    {
      path: '/rank',
      component: () => import('../views/rank.vue'),
    },
    {
      path: '/recorddetails',
      component: () => import('../views/recordDetails.vue'),
    },
    {
      path: '/recordlist',
      component: () => import('../views/recordList.vue'),
    },
    {
      path: '/recordupload',
      component: () => import('../views/recordUpload.vue'),
    },
  ],
})

export default router
